Combinatorial decomposition approaches for efficient counting and random generation FPTASes

نویسندگان

  • Romeo Rizzi
  • Alexandru I. Tomescu
چکیده

Given a combinatorial decomposition for a counting problem, we resort to the simplescheme of approximating large numbers by floating-point representations in order to obtainefficient Fully Polynomial Time Approximation Schemes (FPTASes) for it. The numberof bits employed for the exponent and the mantissa will depend on the error parameter0 < ε ≤ 1 and on the characteristics of the problem. Accordingly, we propose the firstFPTASes with 1 ± ε relative error for counting and generating uniformly at random alabeled DAG with a given number of vertices. This is accomplished starting from a classicalrecurrence for counting DAGs, whose values we approximate by floating-point numbers.After extending these results to other families of DAGs, we show how the same approachworks also with problems where we are given a compact representation of a combinatorialensemble and we are asked to count and sample elements from it. We employ here thefloating-point approximation method to transform the classic pseudo-polynomial algorithmfor counting 0/1 Knapsack solutions into a very simple FPTAS with 1− ε relative error. Itscomplexity improves upon the recent result (Štefankovič et al., SIAM J. Comput., 2012),and, when ε = Ω(n), also upon the best-known randomized algorithm (Dyer, STOC,2003). To show the versatility of this technique, we also apply it to a recent generalizationof the problem of counting 0/1 Knapsack solutions in an arc-weighted DAG, obtaining afaster and simpler FPTAS than the existing one.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Random Generation and Approximate Counting of Combinatorial Structures

Ad Ilenia, la persona che più di tutte ha cambiato la mia vita. INTRODUCTION Combinatorial counting problems have a long and distinguished history. Apart from their intrinsic interest, they arise naturally from investigations in numerous branches of mathematics and natural sciences and have given rise to a rich and beautiful theory. Ranking problems, which consist in determining the position of...

متن کامل

Random Generation of Combinatorial Structures from a Uniform Distribution (Extended Abstract)

The class of problems involving the random generation of combinatorial structures from a uniform distribution is considered. Uniform generation problems are, in computational difficulty, intermediate between classical existence and counting problems. It is shown that exactly uniform generation of 'efficiently verifiable' combinatorial structures is reducible to approximate counting (and hence, ...

متن کامل

Random Generation and Approximate Counting of Ambiguously Described Combinatorial Structures

This paper concerns the uniform random generation and the approximate counting of combinatorial structures admitting an ambiguous description. We propose a general framework to study the complexity of these problems and present some applications to specific classes of languages. In particular, we give a uniform random generation algorithm for finitely ambiguous contextfree languages of the same...

متن کامل

Generating Outerplanar Graphs Uniformly at Random

We show how to generate labeled and unlabeled outerplanar graphs with n vertices uniformly at random in polynomial time in n. To generate labeled outerplanar graphs, we present a counting technique using the decomposition of a graph according to its block structure, and compute the exact number of labeled outerplanar graphs. This allows us to make the correct probabilistic choices in a recursiv...

متن کامل

Counting Environments and Closures

Environments and closures are two of the main ingredients of evaluation in lambdacalculus. A closure is a pair consisting of a lambda-term and an environment, whereas an environment is a list of lambda-terms assigned to free variables. In this paper we investigate some dynamic aspects of evaluation in lambda-calculus considering the quantitative, combinatorial properties of environments and clo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013